package com.ticket.sass.admin.dto.output.order.group;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author ywb
 * @date 2024-08-13 16:02
 */
@Data
@ApiModel("拼单设置")
public class GroupPurchaseSettingListOutput {
    @ApiModelProperty(value = "ID")
    private Long id;
    
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startDate;
    
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endDate;
    
    @ApiModelProperty(value = "拼单价")
    private BigDecimal price;
    
    public GroupPurchaseSettingListOutput() {
    }
    
    public GroupPurchaseSettingListOutput(Long id, LocalDateTime startDate, LocalDateTime endDate, BigDecimal price) {
        this.startDate = startDate;
        this.endDate = endDate;
        this.price = price;
    }
}
